Airwallex\Main A

Total Complexity 72
Dependencies 29
Dependents 7
Total lines 561
Lines of code 451
Logical lines of code 209
Comment lines 41
Methods 28
Properties 3

Methods 28

Method Rating Maintainability Complexity Lines of code
enqueueScripts()
A
45 9 38
handleStatusChangeForCard()
A
53 8 21
registerScripts()
S
42 1 70
createPages()
S
47 3 39
registerEvents()
S
45 3 38
registerCron()
S
57 4 18
addPaymentGateways()
S
60 4 14
updateMerchantCountry()
S
61 4 12
noticeApiKeyMissing()
S
55 3 22
modifyRequestsForLogging()
S
65 4 9
addDisplayPostStates()
S
62 4 10
getMerchantCountry()
S
64 3 11
registerOrderStatus()
S
50 1 35
excludePagesFromMenu()
S
62 3 10
woocommerceBlockSupport()
S
61 2 14
init()
S
54 1 24
enqueueAdminScripts()
S
61 1 15
getInstance()
S
71 2 6
excludePagesFromList()
S
66 2 8
disableGatewayOrderPay()
S
71 2 6
handleStatusChange()
S
80 1 3
checkPendingTransactions()
S
81 1 3
addPluginSettingsLink()
S
71 1 5
isJsLoggingActive()
S
77 1 3
getInstanceKey()
S
80 1 3
updateMerchantCountryAfterSave()
S
82 1 3
registerSettings()
S
80 1 3
registerExpressCheckoutButtons()
S
66 1 8